//
//  AboutUsViewController.m
//  NuwaRobot
//
//  Created by Kendama on 2017/12/1.
//  Copyright © 2017年 Kendama. All rights reserved.
//

#import "AboutUsViewController.h"

@interface AboutUsViewController ()

@property(nonatomic,strong) UIImageView *contentImageView;

@end

@implementation AboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (UIImageView *)contentImageView
{
    if(!_contentImageView)
    {
        UIView *superView = self.view;
        _contentImageView = [[UIImageView alloc]init];
        [superView addSubview:_contentImageView];
        _contentImageView.image = imageWithName(@"about_us");
    }
    return _contentImageView;
}

- (void)masLayoutSubview
{
    [self.contentImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(self.view.mas_top).with.offset(px1920Height(252));
//        make.centerX.mas_equalTo(self.view.mas_centerX);
//        make.width.mas_equalTo(px1080Width(1000));
        make.left.mas_equalTo(self.view.mas_left).with.offset(px1080Width(40));
        make.right.mas_equalTo(self.view.mas_right).with.offset(-px1080Width(40));
        make.height.mas_equalTo(px1920Height(1442));
    }];
}

- (void)setNavigationStyle
{
    [self setNavigationBarTitle:@"关于我们"];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
